#!/bin/bash



for file in `ls  *.json`
do

newfile=${file%-*}.json
echo ${file%-*}
echo $newfile
mv $file $newfile
break
done